package com.group.three.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author xueyong
 * @since 2022-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)

public class UserLog {

    private static final long serialVersionUID = 1L;

    /**
     * 编号id
     */

    private Long userlogId;

    /**
     * 用户id
     */

    private Long personId;

    /**
     * 登录得ip地址
     */

    private String ip;

    /**
     * 最近登录时间
     */
    @DateTimeFormat(pattern="YYYY-MM-dd HH:mm:ss")
    private String loginTime;

    private String loginAddress;




}
